.layui-content {
    width: 100%;
}

img {
    max-width: 100%;
    box-sizing: border-box;
}

/* 横幅 */
.banner {
    box-shadow: 0 0 6px rgba(0, 0, 0, .101562);
}

.banner .layui-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 120px 0 80px 0;
}

@media screen and (max-width: 1200px) {
    .banner .layui-container {
        padding: 50px 0 30px 0;
    }
}

.banner .layui-container .layui-box {
    min-width: 50%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.banner .layui-container .layui-box img {
    width: 500px;
}

.banner .layui-box h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 500;
}

.banner .layui-box p {
    margin-top: 52px;
    margin-bottom: 56px;
}

.banner .layui-box .layui-tools-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .layui-box .layui-tools-group a {
    padding: 0 15px;
    display: block;
}

.banner .layui-box .layui-tools-group a i {
    margin-right: 10px;
}

/* 特点 */
.feature {
    width: 100%;
    padding: 80px 0 60px 0;
}

.feature .layui-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    align-content: center;
}

.feature .layui-container .layui-box {
    min-width: 25%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature .layui-container .layui-box .layui-box-img {
    height: 154px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature .layui-container .layui-box img {
    width: 186px;
}

.feature .layui-container .layui-box h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 5px 0 20px 0;
}

.feature .layui-container .layui-box p {
    font-size: 14.8px;
    letter-spacing: 2px;
    padding-bottom: 15px;
}

/* 热门 */
.hot {
    width: 100%;
}

.hot>h3 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-top: 40px;
    box-sizing: border-box;
}

.hot .layui-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px 0 80px;
}

.hot .layui-box .layui-box-item {
    padding-bottom: 25px;
    max-width: 100%;
    padding: 0px 10px;
    box-sizing: border-box;
}

.hot .layui-box .layui-box-item .layui-works {
    width: 500px;
    height: 250px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.hot .layui-box .layui-box-item .layui-works:hover .layui-works-img {
    transform: scale(1.5);
}

.hot .layui-box .layui-box-item .layui-works:hover .layui-works-tools a {
    opacity: 1;
    transform: scale(1);
}

.hot .layui-box .layui-box-item .layui-works .layui-works-img {
    width: 100%;
    height: 100%;
    transition: all .4s;
}

.hot .layui-box .layui-box-item .layui-works:hover .layui-works-tools {
    background: rgba(0, 0, 0, .3);
}

.hot .layui-box .layui-box-item .layui-works .layui-works-tools {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.hot .layui-box .layui-box-item .layui-works .layui-works-tools a {
    transition: all .4s;
    opacity: 0;
    transform: scale(0);
}

.hot .layui-box .layui-box-item h3 {
    font-size: 26px;
    text-align: center;
    padding: 30px 0;
    font-weight: 400;
}

.hot .layui-box .layui-box-item .layui-box-card {
    box-shadow: 0 0 6px rgba(0, 0, 0, .101562);
}

.hot .layui-box .layui-box-item .layui-works-body {
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hot .layui-box .layui-box-item .layui-works-body .layui-works-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hot .layui-box .layui-box-item .layui-works-body a {
    display: block;
    margin-right: 10px;
}

/* 笔记 */
.note {
    width: 100%;
}

.note>h3 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-top: 40px;
    box-sizing: border-box;
}

.note .layui-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding-top: 60px;
}

.note .layui-container .layui-box {
    width: 500px;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    padding-bottom: 80px;
}

.note .layui-container .layui-box h3 {
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    padding-bottom: 25px;
}

.note .layui-container .layui-box p {
    text-indent: 2em;
    line-height: 36px;
    letter-spacing: 3px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 40px;
}

.note .layui-container .layui-box .layui-box-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 友情链接 */
.blogroll {
    width: 100%;
}

.blogroll>h3 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-top: 40px;
    box-sizing: border-box;
}

.blogroll .layui-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0 50px 0;
}

.blogroll .layui-container .layui-box-card {
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.blogroll .layui-container .layui-box-card .layui-box-img {
    width: 100%;
    height: 100%;
}

.blogroll .layui-container .layui-box {
    width: 185px;
    padding: 30px;
    box-sizing: border-box;
}

.blogroll .layui-container .layui-box a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blogroll .layui-container .layui-box a p {
    padding: 15px 0;
    font-size: 16px;
}